import service from '@/utils/request'

// @Tags BillList
// @Summary 创建BillList
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.BillList true "创建BillList"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /billList/createBillList [post]
export const createCalendarPoint = (data) => {
     return service({
         url: "/calendarPoint/createCalendarPoint",
         method: 'post',
         data
     })
 }

// @Tags BillList
// @Summary 删除BillList
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除BillList"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /billList/deleteBillList [delete]
 export const deleteCalendarPointByIds = (data) => {
     return service({
         url: "/calendarPoint/deleteCalendarPointByIds",
         method: 'delete',
         data
     })
 }

 export const getCalendarPointList = (params) => {
    return service({
        url: "/calendarPoint/getCalendarPoint",
        method: 'get',
        params
    })
}